<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>memos2 - Frequently Asked Questions</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                  <a href="" id="bannerLeft">
    
                                            <img src="images/logo.png" alt="" />
    
            </a>
                        <a href="http://www.asemantics.com/" id="bannerRight">
    
                                    <img src="http://www.asemantics.com/images/logo.gif" alt="" />
    
            </a>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-05-24
                          |   
          Version: 1.0-beta
                        </div>
            <div class="xright">            <a href="">Project Page</a>
            |
                <a href="downloads/list">Downloads</a>
            |
                <a href="http://fabrizio.zellini.org/oscache-memcached-memos" class="externalLink">memOS</a>
            |
                <a href="http://www.opensymphony.com/oscache/" class="externalLink">OSCache</a>
            |
                <a href="http://www.danga.com/memcached/" class="externalLink">Memcached</a>
            |
                <a href="../spymemcached/">Spy Memcached</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>memOS2</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="user-guide.html">User's Guide</a>
          </li>
              
    <li class="none">
              <strong>FAQ</strong>
        </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="top">Frequently Asked Questions</a>
</h2>
<ol type="1"><li><a href="#why-memcached-read-not-performed">Debugging locally, reading logs I noticed OScache writes
            correctly entities to memcached, but when reading the memcached is
            ignored... is there any reason why?</a>
</li>
</ol>
</div>
<dl><dt><a name="why-memcached-read-not-performed">Debugging locally, reading logs I noticed OScache writes
            correctly entities to memcached, but when reading the memcached is
            ignored... is there any reason why?</a>
</dt>
<dd>
                <p>First of all you have to know that OSCache, when retrieving
                cached elements, checks first his local cache, then invokes
                <code>PersistenceListener</code> read operations to look for
                them; using memcached is strongly recommended when scalability
                is your primary goal, in that way multiple OSCache can be
                synchronized without spreading data through the net.</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a>
</td></tr></table></dd>
</dl>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          Asemantics S.r.l.
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
